package com.tcl.utilcode.managers;

/**
 * 全局配置管理类
 *
 * @Author Mack
 * @Date 2020/10/30
 */
public class GlobalConfigManger {
    private GlobalConfigManger() {
    }

    private static class SingletonHolder {
        private static final GlobalConfigManger INSTANCE = new GlobalConfigManger();
    }

    public static final GlobalConfigManger getInstance() {
        return GlobalConfigManger.SingletonHolder.INSTANCE;
    }

    private int openGestureState;
    private int openChildDistanceState;
    private int openChildPostureState;

    public int getOpenGestureState() {
        return openGestureState;
    }

    public void setOpenGestureState(int openGestureState) {
        this.openGestureState = openGestureState;
    }

    public int getOpenChildDistanceState() {
        return openChildDistanceState;
    }

    public void setOpenChildDistanceState(int openChildDistanceState) {
        this.openChildDistanceState = openChildDistanceState;
    }

    public int getOpenChildPostureState() {
        return openChildPostureState;
    }

    public void setOpenChildPostureState(int openChildPostureState) {
        this.openChildPostureState = openChildPostureState;
    }
}
